﻿<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>Bootstrap 101 Template</title>

    <!-- Bootstrap -->

	<!-- 新 Bootstrap 核心 CSS 文件 -->
	<link rel="stylesheet" href="css/bootstrap.min.css">
	
	<link rel="stylesheet" href="css/bootstrap-theme.min.css">
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
	<style type="text/css">
		.main_title
		{
			font-size:90px;
			font-weight:800;
			letter-spacing:-2px;
			line-height: 100px;
		}
		
		.main_title_small {
			color:#ccc;
			display: block;
			font-size: 22px;
			font-weight: 700;
			letter-spacing: -1px;
			padding-top: 5px;
		}
	
		.row h2{
			font-weight: 800;
		}
		
		.row small
		{
			font-size: 16px;
			color:#ccc;
		}
		
		.bg{
	
			background: #049fbb;
			color: #fff;
		}
		
		.tar_download_link {
			display: block;
			float: right;
			width: 90px;
			height: 70px;
			text-indent: -5000px;
			overflow: hidden;
			background: url(img/sprite_download.png) no-repeat bottom right;
			margin-left: 10px;
		}
		
		
		.masthead {
			padding-top: 4rem;
			padding-bottom: 4rem;
			padding: 3rem 1rem;
			color: #fff;
			background-color: #2a3440;
		}
		
		.code_part p{
			font-size: 16px;
			line-height: 16px;
			color:#000;
			
		}
		
	</style>
	
	
  </head>
  <body>
    <header class="masthead">
    <div class="container">
		<div  style="text-align:center;padding:30px 0 50px"  >
			<h1 class="main_title">Appnet</h1>
			<small class="main_title_small">一个支持TCP/HTTP/Websocket协议混合请求的高性能PHP扩展</small>
		</div>
		
		
		
		<div class="row">
			<div class="col-md-6">
				<h2>高性能</h2>
				<small>C语言开发,基于redis核心网络组件封装,增强其网络IO能力,linux平台采用epoll异步非阻塞事件通知机制,单线程可支撑10万并发连接。</small>
			</div>
			
			<div class="col-md-6">
				<h2>高并发</h2>
				<small>多线程异步网络IO,Per Thread One Loop并发模型，多个worker进程并行处理业务。</small>
			</div>
		</div>
		
		
		<div class="row">
			<div class="col-md-6">
				<h2>多协议</h2>
				<small>只需一个Server即可支持TCP协议，websocket协议和http协议的混合访问。</small>
			</div>
			
			<div class="col-md-6">
				<h2>易于使用</h2>
				<small>提供PHP7扩展，简单几步就可以搭建支持TCP/HTTP/WebSocket协议的服务器。</small>
			</div>
		</div>
		
		
		<div class="row">
			<div class="col-md-6">
				<h2>内存优化</h2>
				<small>进程间通信使用共享内存，兼容jemalloc和tcmalloc内存优化技术。</small>
			</div>
			
			<div class="col-md-6">
				<h2>缓冲区优化</h2>
				<small>采用sds动态缓冲区，使用内存预分配和动态扩容策略有效避免内存浪费和缓冲区溢出。</small>
			</div>
		</div>
	</div>
	</header>
	
	<!--代码示例-->
	 <div class="container" style="margin-top:20px" >
		<h2>使用案例</h2>
		<div class="row">
			<div class="col-md-6">
				<img src="img/qq.png"  height="300px" width="500px"/>
			</div>
			<div class="col-md-6">
				<h3>WebQQ</h3>
				<p>使用appnet http+websocket混合协议实现的仿版QQ,支持QQ好友私聊，群聊。</p>
				<p>演示地址:<a href="http://www.appnet.site/webqq/index.html">http://www.appnet.site/webqq/index.html</a></p>
			</div>
		</div>
	
		<div class="row" style="margin-top:20px">
			<div class="col-md-6">
				<img src="img/qq.png"  height="300px" width="500px"/>
			</div>
			<div class="col-md-6">
				<h3>WebQQ</h3>
				<small>使用appnet http+websocket混合协议实现的仿版QQ,支持QQ好友私聊，群聊。</small>
			</div>
		</div>
	
	
	</div>
	

	<!--代码示例-->
	<footer class="footer masthead"  style="margin-top:20px">
	 <div class="container "  >
		<div class="row" >
			<div class="col-md-6">
				<p>This Website Powered By Appnet Server</p>
				<p>QQ交流群:379084776</p>
				<p>Author Email:lchb@qq.com</p>
			</div>
		</div>
	

	</div>
	</footer>
	
	
	<!--container end-->
	   
	   
	   
	<div id="site-navbar" style="position: absolute; top: -4px; left: -3px; border: 0; z-index: 2000;padding:0;margin:0;">
		<a href="#" title="返回首页" style="background:none;">
		<img src="img/return-back.png" style="padding:0;margin:0;border:0; -webkit-box-shadow: none;-moz-box-shadow: none;box-shadow: none;"></a>
	</div>
	   
	   
	   

   <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
	<script src="js/jquery.min.js"></script>
	<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
	<script src="js/bootstrap.min.js"></script>
   
  </body>
</html>
